package com.ipc.common.pojo.bo.gwl;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author 高万里
 */
@Data
public class StaffBo {
    //ID
    @ApiModelProperty(value = "ID，不用写")
    private Integer id;

    //员工编号
    @ApiModelProperty(value = "员工编号", required = true)
    @NotBlank(message = "tip:员工编号不能为空!")
    private String no;

    //员工姓名
    @ApiModelProperty(value = "员工编号", required = true)
    @NotBlank(message = "tip:员工姓名不能为空!")
    private String name;

    //员工性别
    @ApiModelProperty(value = "员工性别", required = true)
    @NotBlank(message = "tip:员工性别不能为空!")
    private String sex;

    //员工密码
    @ApiModelProperty(value = "员工密码", required = true)
    @NotBlank(message = "tip:员工密码不能为空!")
    private String password;

    //员工电话
    @ApiModelProperty(value = "员工电话", required = true)
    @NotBlank(message = "tip:员工电话不能为空!")
    private String tel;

    //员工住址
    @ApiModelProperty(value = "员工地址", required = true)
    @NotBlank(message = "tip:员工住址不能为空!")
    private String address;

    //员工状态
    @ApiModelProperty(value = "员工状态", required = true)
    @NotBlank(message = "tip:员工状态不能为空!")
    private String status;

    //员工生日
    @NotNull(message = "员工生日不能为空")
    @ApiModelProperty(value = "员工生日", required = true)
    private Date birthday;

}
